home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / Tetris / Source / RCS / Minimatrix.h,v next >
Encoding:
Text File  |  1975-04-26  |  1.6 KB  |  113 lines

  1. head     1.4;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.4
  10. date     92.03.01.10.26.11;  author melling;  state Exp;
  11. branches ;
  12. next     1.3;
  13.  
  14. 1.3
  15. date     91.12.16.17.21.51;  author melling;  state Exp;
  16. branches ;
  17. next     1.2;
  18.  
  19. 1.2
  20. date     91.12.07.07.48.20;  author melling;  state Exp;
  21. branches ;
  22. next     1.1;
  23.  
  24. 1.1
  25. date     91.12.07.03.36.22;  author melling;  state Exp;
  26. branches ;
  27. next     ;
  28.  
  29.  
  30. desc
  31. @Tetris 1.1
  32. @
  33.  
  34.  
  35. 1.4
  36. log
  37. @Release 1.3
  38. @
  39. text
  40. @
  41. #import <appkit/View.h>
  42.  
  43. @@interface Minimatrix:View
  44. {
  45.     int numRows;
  46.     int numCols;
  47.      id backGround;
  48.     float backgroundGray;
  49.     NXSize elementSize;
  50.     NXSize inset;
  51.     NXSize intercell;
  52.     NXRect insetBounds;
  53.   
  54.      // Holds the id of the current block in a given (row,column)
  55.     id *iconMatrix;
  56. }
  57.  
  58. - initFrame:(const NXRect *)frameRect;
  59. - initFrame:(const NXRect *)frameRect
  60.     numRows:(int)rowsHigh numCols:(int)colsWide;
  61. - initFrame:(const NXRect *)frameRect
  62.     bitmap:theBitmap numRows:(int)rowsHigh numCols:(int)colsWide;
  63.  
  64. - bitmapAt:(int)row :(int)column;
  65. - displayAt:(int)row :(int)column;
  66. - drawSelf:(const NXRect *)rects :(int)rectCount;
  67. - getIntercell:(NXSize *)aSize;
  68.  
  69. - getRect:(NXRect *)theRect for:(int)row :(int)column;
  70. - point:(NXPoint *)thePoint for:(int)row :(int)column;
  71.  
  72. - setBackgroundGray:(float)gray;
  73. - setBitmap:theBitmap;
  74. - setBitmap:theBitmap at:(int)row :(int)column;
  75. - setElementSize:(const NXSize *)aSize;
  76. - setInset:(const NXSize *)aSize;
  77. - setIntercell:(const NXSize *)aSize;
  78.  
  79. - free;
  80.  
  81. @@end
  82.  
  83. @
  84.  
  85.  
  86. 1.3
  87. log
  88. @*** empty log message ***
  89. @
  90. text
  91. @@
  92.  
  93.  
  94. 1.2
  95. log
  96. @Tetris 1.2
  97. @
  98. text
  99. @d8 1
  100. d15 1
  101. @
  102.  
  103.  
  104. 1.1
  105. log
  106. @Initial revision
  107. @
  108. text
  109. @d13 1
  110. a13 1
  111.     
  112. @
  113.